package com.cmy.framework_utils.preference

class SPUtils : BasePreferences() {

    companion object{
         const val BASIC_DATA_PREFERENCE_FILE_NAME =
            "network_api_module_basic_data_preference"
        private var sInstance: SPUtils? = null

        fun getInstance(): SPUtils? {
            if (sInstance == null) {
                synchronized(SPUtils::class.java) {
                    if (sInstance == null) {
                        sInstance = SPUtils()
                    }
                }
            }
            return sInstance
        }

    }

    override fun getSPFileName(): String = BASIC_DATA_PREFERENCE_FILE_NAME
}